package com.blb.aop.service;

import org.springframework.stereotype.Service;

/**
 * @author lvtian
 * @date 2022/12/26 10:13
 */
@Service
public class UserServiceImpl {
    public void addUser(){
        System.out.println("添加用户");
    }

    public void deleteUser(){
        System.out.println("删除用户");
    }


    public void findAll(){
        System.out.println("查看用户");
        throw new RuntimeException("这是一个错误");
    }

}
